﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TianShiProject.Models.Common;

namespace TianShiProject.Models.Shen.PaymentShens
{
    /// <summary>
    /// 付款审批
    /// </summary>
    public class PaymentShenDto
    {
        public Guid Id { get; set; }
        /// <summary>
        ///  编号
        /// </summary>
        public string ApplyNumber { get; set; }
        /// <summary>
        ///  标题
        /// </summary>
        public string Headline { get; set; }
        /// <summary>
        ///  付款金额
        /// </summary>
        public decimal PaymentAmount { get; set; }
        /// <summary>
        ///  结算方式
        /// </summary>
        public string ClearingForm { get; set; }
        /// <summary>
        ///  支付对象
        /// </summary>
        public string ObjectOfPayment { get; set; }
        /// <summary>
        ///  开户行
        /// </summary>
        public string OpeningBank { get; set; }
        /// <summary>
        ///  银行账户
        /// </summary>
        public string BankAccount { get; set; }
        /// <summary>
        ///  付款日期
        /// </summary>
        public DateTime DateOfPayment { get; set; }
        public string DateOfPayments { get { return DateOfPayment.ToString("yyyy-MM-dd"); } }

        /// <summary>
        ///  用途描述
        /// </summary>
        public string UserDescribe { get; set; }
        /// <summary>
        ///  备注
        /// </summary>
        public string Remarkm { get; set; }
        /// <summary>
        ///  票据附件
        /// </summary>
        public string Accessory { get; set; }
        /// <summary>
        ///  申请人
        /// </summary>
        public string Proposer { get; set; }
        /// <summary>
        ///  创建时间
        /// </summary>
        public DateTime EstablishTimez { get; set; }
        public string EstablishTimezs { get { return EstablishTimez.ToString("yyyy-MM-dd"); } }
        /// <summary>
        ///  审批状态
        /// </summary>
        public int ApprovalStatusj { get; set; }
        /// <summary>
        ///  审批人
        /// </summary>
        public string Approverg { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
        public ShenState ProcedureState { get; set; }
        public string CaoName { get; set; }
    }
}
